clean up code
scan folders