   
   while true {
     print("Select template number : ", terminator: "")
-    let input = readLine() ?? "0"
-    guard let num = Int(input), num >= 0, num < templates.count else {
+    let input = readLine() ?? "1"
+    guard let num = Int(input), num >= 1, num <= templates.count else {
       print("Wrong Value\n")
       continue
     }
     
-    templateName = templates[num]
+    templateName = templates[num-1]
     printInConsole("\(templateName) is selected")
     print()
     break

  
  while true {
    print("Select Target Path Number : ", terminator: "")
    let input = readLine() ?? "0"
    guard let num = Int(input), num >= 0, num < 4 else {
      print("Wrong Value\n")
      continue
    }
    
    switch num {
    case 0:
      guard !isRootUserWithSudoCommand() else {
        authorityAlert(needSudo: false)
        return
      }
    case 1:
      guard !isRootUserWithSudoCommand() else {
        authorityAlert(needSudo: false)
        return
      }
      directoryPath = userHomeDirectory
      pathEndPoint = PathEndPoint.customProjectTemplate.rawValue
    case 2:
      guard isRootUserWithSudoCommand() else {
        authorityAlert(needSudo: true)
        return
      }
      directoryPath = xcodeBasePath
      pathEndPoint = PathEndPoint.xcodeFileTemplate.rawValue
    case 3:
      guard isRootUserWithSudoCommand() else {
        authorityAlert(needSudo: true)
        return

  // Print Target Directory Path
  print("Select Directory Path to Install Template")
  print(String(repeating: "#", count:40))
  print("1: Custom File Template")
  print("2: Custom Project Template")
  print("3: Xcode File Template (admin only)")
  print("4: Xcode Project Template (admin only)")
  print(String(repeating: "#", count:40), terminator: "\n\n")
  
  
