Adding system enviorment check for GAMP