Adding spatial library checks to the run scripts