fix script paths, and remove test scripts that's leaking into the default error pages