Update cors for script error