Before pkill would try to terminate the script since it had "dunst" in its name. This is the solution for that, and it also makes adding new commands in the future easier.