Fixed home/chdir directories