Setting up env in server