select config file in settings

+ a new setting in the configuration dialog, 
+ expand environment variables in configuration files