add chapters script