I've fixed the script so it works again