Adding handler for calling back on command