added seed and debug script