usage added for main.py
merge changes with josh