Added set command and shutdown/interrupt support