Adding libraries element to plot struct