Example: how to run scala script as shell