I apologize for my mistake..... ...the correct location of raw2xg and getrc scripts is ns-2/bin -Shreyas