Path and require cleanup to web server script