adding trigger script. it will create the pipeline id and store information in sdb.