Added support for hierapp in config