cleanup + command line param