Moved runAsSystem into initExtensions call