changed python script.