added support for arrays and env variables in variable overlay