optimized to target certain dirs instead of all of app, so that app/storage, etc, won't be targetted.