Fixes finding the path to the template.
listen-address is now configurable.