automatically load cms libraries