start of config/argument processing