Fix upload script to actually upload into the directory