v1.0.1; escape use of $ in string.replace (closes #11)