Reruns/ui

I'm not very familiar with this part of the code. Maybe?