Fixed Timelapse external function