Yes, the meaning is fine. Depending on the register of the text as a whole, 'on the spot' may be too informal; if so, it could be replaced with ' appropriate ad hoc adjustments '.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.