Re-revert https://github.com/Chessnut/NutScript/commit/179af8e09c099b44f626a66ec6c453cb14aa9cf5