version 1 - generalized for running on multiple pcs via control file