updated local config file creation