added chaining of commands for clean, support for init with parameters