database script upload