further updates to score counting script