variable id on main activity determines upload push