Remember Me
You can also add shell scripts (.sh files) if you don’t want to muck about with functions and variables.
This video gives a short overview for how you would add lxde to the retropie menu but it can be adapted to other programs.