removed old stale code (which also broke scripting on linux)