Fixing problems with the new format WPM

There were some implementation complexities that weren't handled yet
Updated script loading feature