If directory is passed, then change to this directory, close buffer and open nerdtree
Added scripts to path and load path before startx