add library header and footer snippet