added publicFolder option
forgot to check if publicFolder was set.
Merge pull request #24 from brianberlin/master

Added publicFolder option