Added extra preparation of app configuration