Picking up first property of entity to display.
Latest script to generate templates. Changed output_dir. Deleting js files in output_dir except "Custom"