Added in hooks to get the latest git revision