nk and alert script