Got the build file fully working with emma