Takes timelapse screenshots and saves them to an output folder.