Change order to include library, update function to check pro library then load it if it existed