Script for computing HaploScore