Add debugging/messages to set command