Fixed bug concerning the path to the controller.cfg file