Who are these scripts for? You need to troubleshoot performance problems with SQL Server, and you need to do it now. You don't have time to track down a bunch of DMVs, figure out Extended Events, ...
The CLR assembly in this project can only be deployed to a SQL Server with CLR enabled, and support for UNSAFE permission set. If you have SSDT, you can open the SQL server project and publish it to ...