cleanup autosync.py