write all env vars out to env.custom