Use config file instead of constants