use env vars for hook address