updated scripts helpers