added argparse, now with autogen on command line