add modules element to .app file templates