added RWDPerf and fixed templating bug - fix #146