Added support for time lapse.