convert LHS sampling to a cli module