make fastreplace use ag