pre deploy hook