Migrate site ids to extension script.