Adding a better earth and updated the code to use the new earth