Add configurable directory, rather than relying on the session working
directory.