Made debug true
made work on localhost