runinterval parameter and pieces to another file