update BuildCmd.py