Trying to get this to work on linux and windows