Hook up the upload handler