change args format of selecting.py