added hiera support for environments