resolves #40 (gatATAC.org issues) Add hook support