Made it more flexible for the environment the junit tests will run against