fixed pilot script