Now redirecting stdout and stderr to the logs