added compile UI and preview UI commands