updated application configuration and init hook