Added join lines command. Fixes #274