argparse added to corebuild.py