Changed the transform and added the hooks.c...

Changed the transform and added the hooks.c template file for the script