moved replace to an action rather than bool
explicitly added boost dir, works great on macs!