Added if statements to close for scor1 and scor2