Made change so uploading happens on the same run as a pass is detected.