changed output to cwd