script fixed cause not working on my debian 7