local config setup