adding some stuff to pull env vars into yml
do not use stale configs
simplify
use fetch to get errors from ENV