Using Cg in panda

How can we specify the entry function for cg programs? or do we have to use main no matter what?

I was also trying to update parameters usng the setParam and addParam functions, but cannot get them to work. Any help will be greatly appreciated