Added option to disable the library output