added eta cut, modified to run out of work/scratch dirs