Use config file in main()