Adds config file and CLI switches