also, saw in ur code that u use did -a id several times, u can use them once and do: eg: did -a CMP 1-10 HI or did -a CMP 1,2,3,4,5,6,7,8,9,10 hi