Adjusted script so it will preload the .so from the script's directory