Trying to switch this to using ENV variables

There is a better, cleaner way to do this. This is just a POC implementation.