added support for custom edition templates