Added an mysql hook and a new php module 'gd'