added check-environment.sh