Move somes resources files. Fix variables issues in the scripting module.