updated readHW for compatibility with AWS