a simple script to get ENVIRONMENT from MATRIX-COUNTS.