scripts and doc