Fixing ns-3 RM generation script