better documentation and script helper.