Adding media replace capabilities