Rename prep_dir to prep_ir_dir