add  build hook