Scan now does not include subdirs

I will add a option to select recursive or not.