State scripts not running in Debian

I’m fairly new to Mender and I’m trying out state scripts. As a tryout, I created two state scripts, names Idle_Enter and Idle_Leave in /etc/mender/scripts/. The scripts are very simple:

#!/bin/sh
touch /var/lib/mender/idle-enter-hit
exit 0

However, I see no file being created in /var/lib/mender/, not after a reboot, not after restarting mender-updated, not after creating and finishing a small deployment.

My setup is a raspi with Debian Trixie 64 bit. From what I understood, Idle_ scripts can be generated in the file system, where Artifact scripts need to be included in the artifact. So what am I doing wrong?