updated naming of parameters in custom loader