Maya python set environment variable. This approach is very low maintenance and easy to scale.