Move to config via env instead of flags

Does what it says it does ;-)