New update-py script, rewrite cron.py script