changed all defaults exepect output_dir to nil or empty array