bug fix. should be fully functional now
removed unnecessary print statement
bug fix with path creation