Add script and update docs