Add replace line into the custom user mk generator function