Hook execute fix for standard Drupal 7.

Hi

Replaced the old method of calling functions on the new Drupal 7.