Fixed path issues
Using console logs rather than throws