updaintg scripts with latest UI changes