Here is a siple script that you can use to create the .cls files for your levels.
It should create the .CLS everytime.
Just make sure you save your level before running.
Remember, you must create your 21level1_wmb's .cls file before trying to run and load it through your script.
////////////////////////////////////////////////////////////////////////////
// The engine starts in the resolution given by the follwing vars.
var video_mode = 7; //800x600;
var video_depth = 16; // start in 16 bit resolution
ifdef develop;
plugindir="\\a6\\acknex_plugins";
dllfunction debugmsg(message);
endif;
string s_level=<yourLevel.wmb>;
string s_levelcls=<yourLevel.cls>;
string newtonLevel_cls=s_levelcls;
function main()
{
wait(3);
level_load(s_level);
wait(1);
dll_handle=newtonHandle;
NewtonAddMap(s_level,0);
}