Modify settings for collecting dir and result dir