Fixed uploading, still needs work though.