Main: Get config from arguments.