add select lines N to M script