greatly simplified script that sets up the environment for test runs