Fixed spelling mistake causing script error