Bash script for running integration tests and setting env variables