Upload functionality and stock table.