Add a switch to turn off the local config file

In some case, the developer may use the local config file. So turnin off of generating the local config file will avoid overriding the developers file.