add main script
init doc