Added helper scripts to the build tree.
fixed upload script