Same script adaptation also for debian7