script to check warranty for mac models