Hi,
I suppose you are asking about how to call/trigger the script for displaying the data. After you are done with data fetch logic in the driver program and logic for displaying different signature in the script, you have to use OPEN_FORM, WRITE_FORM and other script related methods for displaying the data.
There are many discussions and blogs describing the use of these methods. Please refer to them and they will certainly help you.
~Athreya