Adding more functionality to hitmatrix.pl