Added time limits for the flight task