added support for folder creation