Time lapse script for the raspberry pi