Made appSettings optional