add global fuction
add return value for fuction
new script update
update latest wiki based on review version