Notebook script pulls before generate