restore current directory at start-up