rewrite the score template