command line args, cleanup