support for local templates to include custom options