Script works now also on Debian8.