fix gaia preload script