Move ntpdate call to earlier in the script