separated profile loading and echoing of commands and shortened command echo number of lines used