change macro according to experiment directories