build hooks empty file in drafts