improved app config