trying to fix large amount of errors in script.