Python sync script