Added 'IM' pattern to the t_STROKE token in order to recognize IM.