add scripts improve doc