move doctemplate into install