General lofar scripts.