Fixing some regex problems in gb and switching to argparse