setup local config