Fixes misspelled variable in script