New law gives flexibility to treat allergy emergencies