fix for generating template files for server package