Better logging

Changed from >> to 2>&1 to capture output to log files