add the emergc scripts.