This allows the script to be minified as well as being checked by luacheck.
The logic is based on the previously used shell script implementation. Co-Authored-By: Robin Weiligmann <admin@robwei.me>