Some small bugs fixed in instrument correction script.