cleanup output
also render and copy html page