adding hooks for beta deploy