add newline to keys replacement command