changed over to python script