bash hook tinkering