fix path and get around permissions