Removed header.css code, added code to skip the sync if the sync file doesn't exist, and sleep for 2 seconds before trying to start Nagios.
Backcopied /home/nagios/local/...css to here as well