improving ergonomy of script edit