Added config to change current dir for remote mode.