Adding package variable and adding new trigger.
Adding new trigger and fixing variable.