fixed module to use current working directory of a process.