Changed target of output file to avoid writing results to code directory