created some environment conditionals