added support for parameters in resource files