Introduced appId in before and after configuration