library preferences init