Converted IMs to the new input format