now passing flags to python script