added option to disable UI