Change folder names. Add database uploading code for tether.