Moved python script to python