Fixed lib and created ore generation