support --ice_dir and -ice_dir