Fixed typo preventing script from running