added /togglewand code