Simple args passing to import_fn

Defined template import_main with args-matching keyword arguments.