setting up correct env