and we also need to change GAIA_SCHEME to 'app://'