added support for environment variables in fetch artifact