fixed build upload script