Made scripts more generic.  Added scoring.