Working sample_coverage.sh in Debian