Add libs creation code