Add environment checking script