to use shapemaker as importable module