setting up env properly