added debug flags.
binary cleanup