Refactored code to process select boxes, and added autocalculate scores