check earlier if an extension should run