new option for dir in rescaling