added ability to provide variables in Resources