Add configuration file and better argument check.