This is an insanely great piece of coding. I would recommend that you go to the Github repository and look at the Google sheet that @alyssaxuu set up to show you just what she did to kick the entire screen capture category up a notch. I've used it a couple of times, and it is every bit as good as any tool I've paid for in the past. Well done doesn't even begin to cover it. I highly recommend Screenity.