Setting the basic environment