Adding before build hook