Updated Script for Config file handling
Merge branch 'develop' into release/4.6