added cs12v to setup script and made environment var names generic