Keep on getting very many errors for the script and don't know how to fix them