alert script minor change