some minor improvements and added the deb package