Cleaning up logs. Chaning this to scope.