rm debug logs and update bin to read from stdin [sync though]