added public and tmp directories