Modifications to the upload, it wasn't correctly wrapping the output before