adding migrate.py back temporarily to resolve conflict