Fixing the build, and make sure the temp output files are made available in a published folder