updates to make stuff work on linux