followup fix to bugs from #298
removing console.log
Merge pull request #300 from prose/filepath

followup fix to bugs from #298
fix folder scope #302
Merge pull request #303 from prose/folder-scope

fix folder scope #302
merging upstream