Bash scripts for making screen shot time lapse movies on OS X