Fixed bug with subprocess stuff.