remove unused import
ensure that the search glob is provided
Better error handling