[AESH-101]
added newline after each paste line except the last
make sure masked lines are not pushed to the console