added support for output of variables in erb