added change of separator character and line break

this was missing for my use case.