import bashflags utility from github/bholt/bashflags
use bashflags rather than what was in common.sh