allow configuration of CAS via envvar
Merge pull request #715 from egh/feature/config_cas_via_env

allow configuration of CAS via envvar