scripts: add explainable script again

explainable scripts were removed in #7245 but they were used.
This commit adds them again.

closes #8561 

@ursvasan could you take a look and see if this is sufficient for your use case?