Recursive directory scanning added