modified identify script