Basic fixes and edits

Ensured that the python program works wherever it is placed.