updated read_prep.py with statusinterval function