Improving error output for web pages.
Restoring require.. but making it conditional so post install stuff can use it.