adjust setup script for CAS