updated createcontent script for new structure