Added default false for recursive, and command line support