NotesStream AND insert text between the lines?

Hi I have notes.ini and I want to insert user mail server and mailFile, let say after line 5 .How I can do that.

other thing if I am using the notesstream class in server agent it will support, I read this class just work in workstation, please confirm this.

GetFile =“C:\Baseline\notes.ini”

Dim stream As NotesStream

Set stream = session.CreateStream

If Not stream.Open(GetFile, “ASCII”) Then

Messagebox GetFile, “Open failed”

Exit Sub

End If	

Call stream.WriteText(“MailFile=” + doc.CnabMailFile(0), EOL_CRLF)

Call stream.WriteText(“MailServer=” +doc.CnabMailServer(0), EOL_NONE )

Call stream.Close

Thanks