Removed accidental function and fixed emms directory