Changes so it runs on Linux too