[DEV] Add the replace mode