[2954] Implement basic script for Thorim

Also included more cleanup and optimization for Ulduar instance script