reworked imports again
arguments are passed to "real_main" if it accepts them