sets up environment a little