added delay to timelapse ext. function