Fixed permeability script