added arg read to main.py