codecoverage script bugfixed