rewrite the coveralls script