Queue Reload

I have a process that does the following:

  1. Calculates queue member order using statistics from our CRM
  2. Updates the appropriate tables in mysql
  3. Executes “/var/lib/asterisk/bin/retrieve_conf 2”
  4. Executes asterisk -rx “queue reload all”

This worked great, but after re-installing FreePBX it stopped working. The asterisk_additional.conf file does retrieve the correct data from mysql, but the "queue reload " does not load it. Doing an Apply Config does, but I can’t do a full Apply Config because of the impact on the phone system.

Any help would be greatly appreciated!