fixed non-cwd bug. Made better use of 'verbose' variable