add script for emulator cleanup