Added injectConfigVariables(), please do use with great causion.