mac renaming serial port after every restart

I am communicating with the arduino via firmata through an external program, where I am setting the serial port name by hand. Everytime my mac renames the serial port, my program can no longer find the arduino.

What external application? That program may be able to try to find the Arduino, wherever it is. The Arduino IDE can.