Fixing issue with $ in plugin templates