Fix bug with squadron dir detection and config