Genfolders script to generate the server