Forgot to change to SCRIPT_NAME. Props Ryan Satterfield.