script takes argument xpm, ltc, or ppc