Finally working linux support