Made python script more easy to debug
Cleaning up