- added command line parameters to set clean and static mode