Add coverage testing to script.pm