add envirment macro