added script to process signal