changes to allow running on cluster with no graphical display