remove carriage returns (dos2unix)
remove trailing whitespace