scripts: dist handles UI