Improving Instrument Replacer backend