add macro manager