added streams redirection scope to exec commands grabbing their output.