change rm_dir -> remove_directories