added spatial checks to run.ubuntu