add script for removing the temp .autopilot directory