Prepend and replace