Started migrating scripts to python.