Utilizing module dir and process dir.