Added config for legacy mode