processes upload script