change the addition of skip-docs to all if statements