More modifications to the scripting system (heavy refactoring expected soon). Updated the Linux build.