Script to capture time lapsed image from raspberry pi camera board