modify setup.sh with packages and validations