move coverage.sh to an external template