Move python specific stuff to a seperate script