new option: directory for scrap files. Tested parameter computation.