Working move_episodes.py