rewrote the custom commands section

Also added new commands introduced by #90, #91 and #92.