remove 404.script
add uri_master detection for all pages/templates