Working timelapse.sh.