adding awk to add location template to conf file