add templates and snippet scripts.  also fixed an issue from the old midwife days.