update coverage scripts.
fix ordering problem.