fix chgrp for OSX + remove echo command variable + echo full command in some cases