Add redirects and turn debug off