Hot add scripts and DM XML

I also changed the parameter of enabling the dynamic memory from "enable" to "enableDM" to be more suggestive.