Prepare configuration before initializing scriptlet
Fix notFound() invocation
Fix error page selection