Before modifying agcourtlib.py
Modified agfreqcmd() in agcourtlib; in the future also need to modify agdurcmd() and agnumcmd()