changed unclean and outside so that it produces a file that's inside the local running directory