clean up docs. add doc script