transition configuration to env variables

please review @danrschlosser 
Yes.  We could stop this, but it's very helpful especially when you're devving not to deal with making event images