mods to print cwd of process and brief option