Fixed so local profile file is found when not in ~