Fixed errors with interpolation
Added compiled template of variable interpolation