Fixed for linux; Scripting currently partially broken