func small update
move scripts into util