Tiled Weka Segmentation script through headless

Hi, I’ve been using the scripted trainable weka segmentation script on the Weka page and it has been working really well for my large slide scans. However, I still have to use an X11 server app for the ImageJ GUI. I’d like to run the tiled script completely headless. Does anyone have any experience with this? Thank you!