Increased the number of allowed input directories from 100 to 999.