updated README and debug mode