renamed reset_folders as reset_dirs plus added information