Make new directory and MEMS function.