python script working