fixed minor issue with processing variables in add_config
Merge branch release-1.0