Syntax and minor bug fixes to previous commit, renaming Pmap-Score to mapscore