added "create-directory-onsave" hook