add an assertion for script name

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>