auto discover packages