Refactored out setSlaves(), getSlaves(), reloadConfig() in utilities.php. Added a new script: reload_config.php that forces generation of a new lsyncd config file and optional restart of lsyncd itself.