Edits to make it work with latest IQMon