Changed so that line parameters if not set cause arg parameters to be used
instead.