Use command line parameters in loader