Bash fixes for gradient installs