create alarm_server script