added linux support (hopefully)