Add output from gateway scripts into HTML response (inc ob_start)