changed order of libraries being loaded