added default nodebug option
removed domain specific code