Update write todo script

Signed-off-by: Michael Barton <mail@michaelbarton.me.uk>