New Palermo contract for Hernandez