public and tmp folder should be created