updates so it works well on linux