replaced stubs for stdout and stderr
Fix for Mercury Missing Image