Added "replace" bool field in command