add deploy hook to set env vars