Preload libraries in right order