add explain command-line script