added more stuff to debug dist