modified CAsetup.sh