Migrate print and except