updated readme and added debug mode to usage