First try at prepush hook.