Get emit output external module

Fix Issues #780