Advanced scripting with JShell