creates output.html from rendered php