event for deck card load/render?

I think it would be best to target the deck itself (though card might work too). I am using page include in cards and want run script to assign the actual PI. Thanks