add scripts and templates for book