Made some minor bug fixes after testing out all 10 scripts