fix pathing so it works on localhost