added pre to git hook