Updated with bug fix for cmos data not found.