Hi,
This part of the custom script (code) that you have attached is not supposed to be changed, the ports are predefined and should work if you just run it out of the box.
What error are you seeing, did you register the notepad app as shown in the users guide?