Update sentry template hooks to be executable