Save the scarf model