app now uses config for some of the parameters