changed the run method of the toplevel class so the commandline arguments can also be passed directly