changed logging and pathing