check arg's validity
read config.ini