changed python script