Inject to ASO after all local or direct transfers are successfull. Add rest_url, source_lfn and destination_lfn to ASO docs. Stage out all output files using the same transfer policy (either local or remote) instead of doing it per file. Upload log file metadata from WN after its transfer is done and before even trying transfer of output files.