#!/usr/bin/env sh cd "$(dirname "$(readlink -f "$0")")" || { echo "Error: Failed to cd to script directory" >&2; exit 1; }; exec lua main.lua "${@}";