small changes to make it works on my laptop. Probably the path should be more general