Bugfix for Linux
Added some more supported extensions on checkings (need to change in the future)