add subextracting script