Isolate include to avoid variable conflicts

With the existing code if you declare things like $output in a set you can mess up the parent code execution. Isolating it is safer.