Updated timelapse.py to use picamera module.