@Andy_Y, is your script by any chance called motion.py? If yes, change the name, restart Pythonista to be sure, and try again.