simplified upload script