Shell script now correctly executes Scala program.