Exported Script and Imported to another account

Exported Script and Imported to another account

 I created an application for a friend, I then exported the script to file and emailed it to him. He imported the file every thing looks fine but the application gives an error message when you try to enter data in the stateless forms I created. The error  does not help at all. It says error occurred in on click script. I look at the script and it looks fine. I opened it and edited the script and re-saved it with no problem but still does not work. I then created a dummy user account in zoho and imported the script and I get the same error. 


Here is the code that is run in the on click. It is simple code so I don't see why it would error.

    
  1.  insert into Reservations_All_Data
    [
    Added_User = zoho.loginuser
    Email = input.Email_Address
    Extra_Bags = 0
    Going = input.Trip_Type
    Name = input.Name
    Number_Adults = 0
    Number_Children = 0
    Number_of_Surfboards = 0
    Phone = input.Contact_Number
    Total_Travelers = input.Number
    Trip_Status = "In Process"
    ]
    r = Reservations_All_Data [(Email == input.Email_Address && Trip_Status == "In Process")];
    openUrl("#Form:Reservation_Step_B?IDNUM=" + r.ID, "same window");