scripts ui fixes