Add code retrieve workdir for users settings.