Folder creation and deploy code separated