Another patch for relative path to templates folder