made it work on linux, fixed settings to make sure that stuff is deleted