Updated userdefbc.py to new input syntax.