Made Everything work correctly.
Have tested Linux ánd Windows, mac not implemented yet has to be done on an actual mac computer.
Made everything work