replace notebooks with command-line scripts