changed inventory_dir to run_dir...