add opts.imports to pass template helpers