Fix the kcdnotif script which was slightly messed up.