Added scripting support.
Added better variable support.