added emacs functions to open files and python script to find paths and stuff