commented all of the python files and rewrote parts of the bash scripts