Backend: Search environment on preffered applications first.