Updated to include recent documents switch