documenting scripts