Attempt at fixing code coverage script.