slight change to debug
scripted update of code from master at 8db7d6b slight change to debug