Added master uri -u option and chrony restart to script.