Finishing touches on library log script