Modify to run on linux