Update readme file and add the ability to set debug to true or false