Compatible with Debian

Tasks adjusted so they work smoothly with Debian 6 and 7