--clean mode for shell