comlete second and third page and export database script file