triplesec hooks