Detect and upload