Getting the initial environment ready