fixing quotes in python script