added hook for dev version