Check the "keep_dirs" var instead of "recurse" to decide if