Document command script contexts better

Yay, solid documentation