fixing scripts ui part