add newline
raise commanderror instead of returning with print