added embedlr to 'templates' if not production
fixed typo