check environment in setup.sh