Here are some examples of different languages: https://github.com/ioquatix/script-runner/blob/master/examples/python-eot.py