Adjust loader script based on what's needed for nuget package