Add new archive, diag, run-script commands and some edits