now works for linux