if target is not a number, it could only be a script path, otherwise it is pid|uid|index|id