added dynamic hostname to app config