NF: update diagnostics script to standard form

Use sys.argv and so on
RF: use new names for slice timing