Changed run to ensureInstalled