added pre hooks to yml