Refactor prompt variables to PS9*.