Add command line flag for skipping unwanted directories