Shell script to create time lapse videos and upload them to youtube