Fix check script for new directory names.