added script for entity scores