Added support for number of lines and help