changed directory save bindings, added library save bindings