updated script doc