Fixed variable name typo from copied script