fixed #2233 - scripting made optional, if not available a warning is giv...

...en to the log