simplified CAsetup.sh