resolves some minor bugs on osx
more options for the col function (which simplifies calling awk)