coverage script now accept parameters