Added firmware version detection