Using ag if possible instead of find