added local storage
disable debug mode