cleaned up coverage script a bit