Package the self-test script as an entrypoint