ok, thanks, i've just noticed you've changed stdout.write to debug.