ADDED: Template Style ID added support for custom layouts