Made the hlsl script work