Use config file instead of hard coded values.