Adding script call to build hooks