convert autoplay.py to take path to engine as an arg (so we can use it on mac and windows)