Updating cmi.sh for latest changes in D8.