cleanup dead code
add hook for transaction_dialog
update packages script