Moved ANSI test to PS1