added pre-stage to optionally cleardown previous nagios config