Added support to environment var to use right configuration for each
context. Needed for functional tests