Make file modified and tested on linux