added prod/dev environment var for index