Finish up score code