added root redirect env variable