Do you have any recommendation how to deploy those scripts via intune and autopilot? The issue is, that a reboot during autopilot device ESP would break the setup process. But without a reboot, the second part of the script does not run and keyboard filters can not be activated.