importing modules with strings as argument ( require( moduleName_str ) ) work on simulator, don't work on device

I’m trying to build some code which loads different levels, for which I’ve utilized the following code:

[lua]function buildLevel( levelName_str )

require( levelName_str ) – works on simulator, doesn’t work on device
–require( “level01” ) – works on simulator, works on device

end

buildLevel( “Level01” )[/lua]

It works great on the simulator, but fails on the device (iPhone 3G)…

Any ideas?
How can I import a module, dynamically at runtime?

Thanks,
EZ [import]uid: 9536 topic_id: 6563 reply_id: 306563[/import]

Well, found the problem:

My module name was level01.lua and I was trying to load Level01.lua (with a capital L )

The simulator eats that (although it shouldn’t, I guess), but the device doesn’t…

Be aware. [import]uid: 9536 topic_id: 6563 reply_id: 22950[/import]