implement pocket mod hook in BLN

reworked some code to get it working.