html injecting working, output file copy working