Modified python scripts to .py