Added stuff to work on debian