fixed to work on debian
added notes