cleanup Perm Command