Made compatible with Linux