add type option to folders and conf option to site