emit externals