- Debug script working better on Linux and OSX.