Working script produces slab data