Added correct handling of monit config file