some script writed by nodejs