Added scripts to core source.
Fixed compilation warning in g3d.