Fixed deploy hook