#142 Added function to set the command to be executed by a command block