Added a couple of methods to set up the local environment correctly