add test-hook
remove test hook
generation script
update constant
add license
pretty print