Add libraries to YAML file