wrote a fun little AutoPilot script and fixed some bugs