script with doc