Add shell listener and getter