hash function better separated in loader; minor deployment fixes