Added stderr and stdout parsing