Modified code to use erb templates