add ability to specify static directory
save notebook header only once