finish score script