Merge pull request #15 from 30x/improveStyle

make cover.sh compatible with Goobuntu, improve style