Added option to echo newline and argument checking.