Cleaning Pyhton script and removing unused response elements
