cleaned up glf for linux