Fixed psg cmd to work on linux as well as OSX.