Added upload script and configured it to automatically check for login.