Added environmentChecks and added a logger (this is what I call a logger @AEnterprise)