improving configuration for environment