updated pathing to use os.path