Changed ID's on the select to properly display it. Also refactored the makeRunRecord function