LaunchAgent to check check before other scripts run