created doc to swig scirpt, updated docs