creation of python script