updated a few things on the file upload script