Adds support for more commands and piping gs output to a writable stream