get variables from clientConfig file or from process.env