using matrix for staging and production