setup for local mode and feature toggle addition