Tweaked debugging as script starts.